package com.cman777.springc.mybatis.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import org.apache.ibatis.annotations.Param;

/**
 * @author chenzhicong
 * @time 2020/3/18 0:50
 * @description
 */
public interface CustomBaseMapper<T> extends BaseMapper<T> {
    /**
      * null字段也更新
      */
    int updateAllColumnById(@Param(Constants.ENTITY) T entity);
}
